<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/6/9 0009
 * Time: 下午 5:07
 */


namespace app\models;

use yii\db\ActiveRecord;
use yii\helpers\ArrayHelper;

use yii\data\Pagination;
use yii\data\ActiveDataProvider;
use yii\data\Sort;
use yii\helpers\Inflector;


class Wj extends ActiveRecord
{
    public function rules()
    {


        return [

            ['name', 'required'],
            ['pwd', 'required'],

        ];

    }


}